package com.ygq;


import DO.TeacherDO;
import DTO.AddTeacherDTO;
import DTO.EditStudentPasswordDTO;
import result.Result;

import java.util.List;

public interface TeacherService {

    List<TeacherDO> getTeachers();

    Integer getTeacherByEleve();

    void resetTeacherPassword(Integer id,String password);

    void deleteTeacher(Integer id);

    void save(AddTeacherDTO addTeacherDTO, String password);

    Result<String> updatePassword(EditStudentPasswordDTO editStudentPasswordDTO);
}
